"""ChinaEffect 视频"""

from sys import path
from pathlib import Path

from manim import Scene, Text, config

path.append(str(Path(__file__).resolve().parent.parent))

# pylint: disable=wrong-import-position
from template import MaterialDesign, Template

config.background_color = MaterialDesign.SURFACE


class ChinaEffectScene(Scene):
    """ChinaEffect 场景"""

    def construct(self):
        Text.set_default(font=Template.DEFAULT_FONT)

        Template.splash_screen(self)

        # 自定义内容

        Template.end_screen(self)


if __name__ == "__main__":
    scene = ChinaEffectScene()
    scene.render()
